package com.meilingcloud.activiti.domain.dto;

import lombok.Data;
import org.activiti.engine.repository.ProcessDefinition;

@Data
public class DefinitionIdDto {

    private String deploymentId;
    private String resourceName;

    public DefinitionIdDto(ProcessDefinition processDefinition) {
        this.deploymentId = processDefinition.getDeploymentId();
        this.resourceName = processDefinition.getResourceName();
    }

}
